package com.example.demo.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.web.bind.annotation.RestController;

@Data
@RestController
@ConfigurationProperties(prefix = "person")
public class Person {
    String name;
    String age;
}
